package org.raymond.iworks.apis.vo.role;

import lombok.Data;
import org.raymond.iworks.apis.vo.BaseVO;
import org.raymond.iworks.apis.vo.user.UserVO;

import java.util.List;

@Data
public class UserRoleVO extends BaseVO {
    private Long userId;
    private Long roleId;
    /**
     * relate=true, 即根据userId或roleId,查出关联的roleList或userList
     * relate=false, 即根据userId或roleId查出未关联的roleList或userList
     */
    /**
     * 是否关联, true,false
     */
    private Boolean relate;

    private List<UserVO> userList;
    private List<RoleInfoVO> roleList;
}
